package com.ml.mall.bean.req.credit;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.math.BigDecimal;

/**
 *   @description    :description 
 *   @author         :zxm
 *   @date           :2021/5/19
 *   @version        :1.0
**/
@ApiModel(value = "公司余额新增model")
@Data
public class CreditNewDto {
    @ApiModelProperty("公司自定义id")
    @NotNull(message = "公司id不能为空")
    private Long companyId;

    @ApiModelProperty(value = "余额")
    @NotNull(message = "余额不能为空")
    private BigDecimal creditBalance;
}
